package _10OberserverDesign;

import java.util.Observable;

public class Oberseverd_BolgUser extends Observable{
        public void publish(String articleTitle,String articleContext){
            Article article = new Article();
            article.setArticleTitle(articleTitle);
            article.setArticleContext(articleContext);
            this.setChanged();
            this.notifyObservers(article);
        }

}
